package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.yl.auth.entity.HugongfuwuBean;
import com.yl.auth.mapper.HugongfuwuMapper;
import com.yl.auth.service.HugongfuwuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 王帅洋
 * @datetime 2023/6/17 11:09
 * @description 类对象
 */
@Service
public class HugongfuwuServiceImpl extends ServiceImpl<HugongfuwuMapper, HugongfuwuBean> implements HugongfuwuService {
    @Resource
    private HugongfuwuMapper hugongfuwuMapper;
    @Override
    public void updateJiFen(HugongfuwuBean hugongfuwuBean) {
        hugongfuwuMapper.updateJiFen(hugongfuwuBean);
    }

    @Override
    public void updateByHid(HugongfuwuBean hugongfuwuBean) {
        hugongfuwuMapper.updateByHid(hugongfuwuBean);
    }

    @Override
    public List<HugongfuwuBean> getAll() {
        List<HugongfuwuBean> list=hugongfuwuMapper.getAll();
        return list;
    }

    @Override
    public List<HugongfuwuBean> findfuwuList(HugongfuwuBean hugongfuwuBean) {
        List<HugongfuwuBean> list=hugongfuwuMapper.findfuwuList(hugongfuwuBean);
        return list;
    }

    @Override
    public List<HugongfuwuBean> findzhongdList(HugongfuwuBean hugongfuwuBean) {
        return hugongfuwuMapper.findzhongdList(hugongfuwuBean);
    }

    @Override
    public List<HugongfuwuBean> findzhongduuList(HugongfuwuBean hugongfuwuBean) {
        return hugongfuwuMapper.findzhongduuList(hugongfuwuBean);
    }

    @Override
    public List<HugongfuwuBean> fuwuList(Long id1, Long id2) {
        return hugongfuwuMapper.fuwuList(id1,id2);
    }

    @Override
    public List<HugongfuwuBean> getxiangmuall(Long id1, Long id2) {
        return hugongfuwuMapper.getxiangmuall(id1,id2);
    }

    @Override
    public void savefuwu(Integer id, Long id1, Long id2) {
        hugongfuwuMapper.savefuwu(id,id1,id2);
    }

    @Override
    public void removeDataById(Integer id, Long id1, Long id2) {
        hugongfuwuMapper.removeDataById(id,id1,id2);
    }
}
